<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0,maximum-scale=1, minimum-scale=1, user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <title>修改交易密码</title>
    <link rel="stylesheet" href="../../css/reset.css" />
    <style>
        body {
            width: 100%;
            background-color: #fff;
            font-size: 0.25rem;
            height: auto;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            font-family: Helvetica;
            color: rgba(24, 24, 24, 0.65);
        }

        #keepBiance {
            display: inline-block;
            width: 100%;
            font-size: 0.26rem;
            padding-left: 0.1rem;
            outline: none;
            border: none;
            height: 0.64rem;
        }

        .checkname {
            padding: 0 0 0 0.24rem;
            box-sizing: border-box;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            border-top: 0.2rem solid #f7f7f7;
        }

        .showname {
            width: 100%;
            height: 0.94rem;
            padding-right: 0.24rem;
            box-sizing: border-box;
            display: flex;
            display: -webkit-flex;
            justify-content: space-between;
            -webkit-justify-content: space-between;
            align-items: center;
            -webkit-align-items: center;
        }

        .showreg {
            display: flex;
            display: -webkit-flex;
            align-items: center;
            -webkit-align-items: center;
        }

        .checkpassword {
            padding: 0 0 0 0.24rem;
            box-sizing: border-box;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            border-top: 0.2rem solid #f7f7f7;
        }

        .showpassword {
            width: 100%;
            height: 0.94rem;
            padding-right: 0.24rem;
            box-sizing: border-box;
            display: flex;
            display: -webkit-flex;
            justify-content: space-between;
            -webkit-justify-content: space-between;
            align-items: center;
            -webkit-align-items: center;
            border-bottom: 1px solid #e5e4e5;
        }

        .showpass {
            display: flex;
            display: -webkit-flex;
            align-items: center;
            -webkit-align-items: center;
        }
    </style>
</head>

<body>
    <div class="checkname go-page"
        data-param='{"page":"common/headerwin","name":"revise_password_headerwin","param":{"subpage":"mine/revise_password","name":"revise_password","title":"修改交易密码"}}'>
        <p class="showname">
            <span style="font-size: 0.26rem"> 修改交易密码 </span>
            <span class="showreg">
                <span class="statusText"></span>
                <img src="../../image/right_jintouax.png" alt=""
                    style="width: 0.18rem;height: 0.33rem;margin-left: 0.15rem;" />
            </span>
        </p>
    </div>
    <div class="checkpassword go-page"
        data-param='{"page":"common/headerwin","name":"forget_password_headerwin","param":{"subpage":"mine/forget_password","name":"forget_password","title":"忘记交易密码"}}'>
        <p class="showpassword">
            <span style="font-size: 0.26rem"> 忘记交易密码 </span>
            <span class="showpass">
                <span class="statuspassText" style="color: #d9d9d9;"> 找回 </span>
                <img src="../../image/right_jintouax.png" alt=""
                    style="width: 0.18rem;height: 0.33rem;margin-left: 0.15rem;" />
            </span>
        </p>
    </div>
    <p class="addTipsText"
        style="height: 0.82rem;line-height: 0.82rem;background-color: #f7f7f7;padding-left: 0.24rem;color: #6f6f6f;">
        保护账户安全，余额提现需设置交易密码
    </p>
    <script src="../../script/autosize.js"></script>
    <script src="../../script/fastclick.js"></script>
    <script src="../../script/jquery_three_two_one.js"></script>
    <script src="../../script/app.js"></script>
    <script>
        apiready = function () {
            var app = new APP();
            var account = app.getAccount();
            app.handlePage();
            app.headerMap();
            function loadStaus() {
                app.ajaxPro({
                    url: "member/get-reset-pwd-status",
                    values: {
                        token: account.token
                    },
                    openFlower: true
                }, function (ret) {
                    if (ret.code == 200) {
                        if (ret.data.status == 2 || ret.data.status == 1) return
                        if (ret.data.status == 0) {
                            $(".statuspassText").text("审核中").remove("go-page");
                        } else {
                            $(".addTipsText").text("交易密码找回失败原因：" + ret.data.remark);
                            $(".statuspassText").addClass("go-page");
                        }
                    } else {
                        app.toast(ret.message)
                    }
                })
            }
            loadStaus();
            app.listen("forgetPass", function () {
                app.closeW();
            })
           app.headerMap();
        }
    </script>
</body>

</html>